import matplotlib.pyplot as plt
import numpy as np

# x = np.array([50, 60, 80, 100, 120]).reshape(-1, 1)
x = np.array([50, 60, 80, 100, 120])
y = np.array([120, 140, 170, 200, 230])


ax = plt.subplot()
ax.scatter(x, y)
plt.show()
